package com.cloud.utils.hutool.objs;

import com.cloud.utils.hutool.annos.HuExcelAno;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.ArrayList;
import java.util.List;

public class HuExcelInnerClass {
    HuExcelAno huExcelAno;
    String fieldName;
    JsonFormat jsonFormat;
    Class tClass;
    List<HuExcelInnerClass>  childFields = new ArrayList<>();

    public HuExcelAno getHuExcelAno() {
        return huExcelAno;
    }

    public void setHuExcelAno(HuExcelAno huExcelAno) {
        this.huExcelAno = huExcelAno;
    }



    public JsonFormat getJsonFormat() {
        return jsonFormat;
    }

    public void setJsonFormat(JsonFormat jsonFormat) {
        this.jsonFormat = jsonFormat;
    }

    public Class gettClass() {
        return tClass;
    }

    public void settClass(Class tClass) {
        this.tClass = tClass;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public List<HuExcelInnerClass> getChildFields() {
        return childFields;
    }

    public void setChildFields(List<HuExcelInnerClass> childFields) {
        this.childFields = childFields;
    }

    public HuExcelInnerClass(HuExcelAno huExcelAno, String fieldName) {
        this.huExcelAno = huExcelAno;
        this.fieldName = fieldName;
    }
}
